#!/usr/bin/python2.5
"""Models for GeoTree Demo."""

__author__ = 'Artem Dudarev'
__licence__ = 'Apache 2.0'
__date__ = 'Mon 15 Mar 2010 10:03:46 AM EET'

from google.appengine.ext import db

from geotree.geotree import Point 

class City(Point):
    """The City is derived from Point model in geotree.geotree
    Initially cities are loaded with bulkloader and not added to the GeoTree.
    is_in_tree 
    property is to go through all of them and add to the GeoTree.
    """
    is_in_tree = db.BooleanProperty(default=False)
